<!-- <template>
  <view class="normal-login-container">
    <view class="logo-content align-center justify-center flex">
      <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
      </image>
      <text class="title">注册页面</text>
    </view>
    <view class="login-form-content">
      <view class="input-item flex align-center">
        <view class="iconfont icon-user icon"></view>
        <input v-model="registerForm.userPhone" class="input" type="text" placeholder="请输入手机号" maxlength="30" />
      </view>
      <view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
        <view class="iconfont icon-code icon"></view>
        <input v-model="registerForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
        <view class="login-code"> 
           <button @click="sendCode" class="login-btn cu-btn bg-blue lg round">发送验证码</button>
        </view>
      </view>
	  <view>
		  
	  </view>
      <view class="action-btn">
        <button @click="handleLogin" class="login-btn cu-btn bg-blue lg round">注册</button>
      </view>
    </view>

    <view class="xieyi text-center">
      <text class="text-grey1">注册即代表同意</text>
      <text @click="handleUserAgrement" class="text-blue">《用户协议》</text>
      <text @click="handlePrivacy" class="text-blue">《隐私协议》</text>
    </view>
  </view>
 
<script>
  import AMapLoader from '@amap/amap-jsapi-loader';
 
  export default {
    data() {
      return {
		registerForm: {
			userPhone:"",
			code:""
		}
      }
    }, 
    methods: {
		sendCode(){
			
		},
		registerSuccess(result) {
		  // 设置用户信息
		  this.$store.dispatch('GetInfo').then(res => {
		    this.$tab.reLaunch('/pages/login')
		  })
		},
		// 隐私协议
		handlePrivacy() {
		  let site = this.globalConfig.appInfo.agreements[0]
		  this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
		},
		// 用户协议
		handleUserAgrement() {
		  let site = this.globalConfig.appInfo.agreements[1]
		  this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
		},
    },
    mounted() {

    }
  }
</script>
 
<style>
	#container {
		width: 100%;
		height: 1400px;
	}
</style> -->